/*
====================================
Designed and built by akulahalfi
Email: akulahalfi@aol.com
Website : http://about.me/akulahalfi
====================================
 */
package NicholasValueBeans;

import java.text.*;
import java.util.*;

public class Member {

    private int intMemberId;
    private String strEmail;
    private String strPassword;
    private String strFirstName;
    private String strLastName;
    private Date dateBirthday;
    private int intGenderId;
    private String strGender;
    private int intRoleId;
    private String strRoleType;

    public Member() {
    }

    public Member(int intMemberId, String strEmail, String strPassword, String strFirstName, String strLastName, Date dateBirthday, int intGenderId, String strGender, int intRoleId, String strRoleType) {

        this.intMemberId = intMemberId;
        this.strEmail = strEmail;
        this.strPassword = strPassword;
        this.strFirstName = strFirstName;
        this.strLastName = strLastName;
        this.dateBirthday = dateBirthday;
        this.intGenderId = intGenderId;
        this.strGender = strGender;
        this.intRoleId = intRoleId;
        this.strRoleType = strRoleType;
    }

    public int getMemberId() {
        return intMemberId;
    }

    public void setMemberId(int intMemberId) {
        this.intMemberId = intMemberId;
    }

    public String getEmail() {
        return strEmail;
    }

    public void setEmail(String strEmail) {
        this.strEmail = strEmail;
    }

    public String getPassword() {
        return strPassword;
    }

    public void setPassword(String strPassword) {
        this.strPassword = strPassword;
    }

    public String getFirstName() {
        return strFirstName;
    }

    public void setFirstName(String strFirstName) {
        this.strFirstName = strFirstName;
    }

    public String getLastName() {
        return strLastName;
    }

    public void setLastName(String strLastName) {
        this.strLastName = strLastName;
    }

    public String getBirthday() {
        Format dfm;
        dfm = new SimpleDateFormat("dd MMMM yyyy");
        String date = dfm.format(dateBirthday);
        return date;
    }

    public void setBirthday(Date dateBirthday) {
        this.dateBirthday = dateBirthday;
    }

    public int getGenderId() {
        return intGenderId;
    }

    public void setGenderId(int intGenderId) {
        this.intGenderId = intGenderId;
    }

    public String getGenderName() {
        return strGender;
    }

    public void setGenderName(String strGender) {
        this.strGender = strGender;
    }

    public int getRoleId() {
        return intRoleId;
    }

    public void setRoleId(int intRoleId) {
        this.intRoleId = intRoleId;
    }

    public String getRoleType() {
        return strRoleType;
    }

    public void setRoleType(String strRoleType) {
        this.strRoleType = strRoleType;
    }
}
